<div class="modal fade" id="successAlert" tabindex="-1" role="dialog"  aria-labelledby="myAlertLabel" aria-hidden="true">
   <div class="modal-dialog" style="margin-top:150px;">
   
      <div class="modal-content">
        <!--弹窗标题-->
         <div class="modal-header">
            <button type="button" class="close" 
               data-dismiss="modal" aria-hidden="true">
                  &times;
            </button>
            <h4 class="modal-title" id="myModalLabel">标题<!--标题内容--></h4>
         </div>
        <!--弹窗内容-->     
         <div class="modal-body"> 
            <p style="text-align: center;font-size:20px;font-weight:700;"><?php echo $alterMsg;?></p>
            <p style="text-align: center;"><?php echo $msg;?></p>
            <p><span id="time">　</span></p>
        </div>
        <!--弹窗按钮-->
        <div class="modal-footer">
		<button type="button" class="btn btn-primary">确定</button><button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        </div>
      </div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>

<script type="text/javascript">
    var time = <?php echo $time; ?>;

    function Redirect(){
        window.location = "<?php echo $jumpUrl; ?>";
    }
    var i = 0;
    function dis(){
        // jQuery("#time").text((time - i) + "秒后自动跳转");
        i++;
    }
    timer=setInterval('dis()', 1000);
    timer=setTimeout('Redirect()',time * 1000);
    $("#successAlert").modal();
</script>